翻訳と辞書
Words near each other
・ Row equivalence
・ Row galley
・ Row hammer
・ Row Heath
・ Row House in Sumiyoshi
・ Row houses (Sycamore, Illinois)
・ Row Island
・ Row Lewis
・ Row New York
・ Row NYC Hotel
・ Row River
・ Row River National Recreation Trail
・ ROW Rybnik
・ Row Your Boat
・ Row, Row, Row Your Boat
Row-major order
・ Rowa
・ Rowa Automatisierungssysteme
・ Rowa Wildlife Sanctuary
・ Rowallan
・ Rowallan Castle
・ Rowallan Power Station
・ Rowallane Garden
・ Rowan
・ Rowan & Martin's Laugh-In
・ Rowan (disambiguation)
・ Rowan (name)
・ Rowan Alexander
・ Rowan and the Keeper of the Crystal
・ Rowan and the Travellers


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Row-major order : ウィキペディア英語版
Row-major order
In computing, row-major order and column-major order describe methods for arranging multidimensional arrays in linear storage such as memory.
The difference is simply that in row-major order, consecutive elements of the rows of the array are contiguous in memory; in column-major order, consecutive elements of the columns are contiguous.
Array layout is critical for correctly passing arrays between programs written in different languages. It is also important for performance when traversing an array because accessing array elements that are contiguous in memory is usually faster than accessing elements which are not, due to caching. In some media such as tape or NAND flash memory, accessing sequentially is orders of magnitude faster than nonsequential access.
==Explanation and example==

Following conventional matrix notation, rows are numbered by the first index of a two-dimensional array and columns by the second index, i.e., ''a''''1,2'' is the second element of the first row, counting downwards and rightwards. (Note this is the opposite of Cartesian conventions.)
The difference between row-major and column-major order is simply that the order of the dimensions is reversed. Equivalently, in row-major order the rightmost indices vary faster as one steps through consecutive memory locations, while in column-major order the leftmost indices vary faster.
This array
: \begin
11 & 12 & 13 \\
21 & 22 & 23 \end
would be stored as follows in the two orders:


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Row-major order」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.